﻿using System.Globalization;

namespace Fuse8.ContentManagementFramework.SystemFacade.Globalization
{
    /// <summary>
    /// Provides common contract for all possible gettext implementations
    /// </summary>
    public interface IGetTextProvider
    {
        string GetText(string original, params object[] values);
        string GetPluralText(string single, string plural, long number, params object[] values);
    }

    public interface IGetTextFacade
    {
        IGetTextProvider WithDomain(string name, CultureInfo locale);
    }
}